<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>
</style>

<body>
  <script>
    // 天数
    for (let i = 1; i <= 3; i++) {
      console.log(`第${i}天`);
      // 每天数量
      for (let j = 1; j <= 5; j++) {
        console.log(`第${j}个单词`);
      }
    }

    // for (let i = 1; i <= 5; i++) {
    //   for (let j = 1; j <= 5; j++) {
    //     document.write(`⭐`);
    //   }
    //   document.write(`</br>`);
    // }

    let row = parseInt(prompt("请输入打印的行数："));
    let column = parseInt(prompt("请输入打印的行数："));
    for (let i = 1; i <= row; i++) {
      for (let j = 1; j <= column; j++) {
        document.write(`⭐`);
      }
      document.write(`</br>`);
    }
  </script>
</body>

</html>